package ymy.common;

public class Road {

    private int roadId;
    private boolean roadDirection;
    private Coordinate begPos;
    private Coordinate endPos;
    private double roadWidth;
    private double roadLength;

    public Road() { }

    public int getRoadId() {
        return roadId;
    }

    public void setRoadId(int roadId) {
        this.roadId = roadId;
    }

    public Coordinate getBegPos() {
        return begPos;
    }

    public void setBegPos(Coordinate begPos) {
        this.begPos = begPos;
    }

    public Coordinate getEndPos() {
        return endPos;
    }

    public void setEndPos(Coordinate endPos) {
        this.endPos = endPos;
    }

    public double getRoadWidth() {
        return roadWidth;
    }

    public void setRoadWidth(double roadWidth) {
        this.roadWidth = roadWidth;
    }

    public double getRoadLength() {
        return roadLength;
    }

    public void setRoadLength(double roadLength) {
        this.roadLength = roadLength;
    }

    public boolean getRoadDirection() {
        return roadDirection;
    }

    public void setRoadDirection(boolean roadDirection) {
        this.roadDirection = roadDirection;
    }
}
